﻿using System;

namespace _43_获取枚举中常量的名称_枚举
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] days = Enum.GetNames(typeof(DayOfWeek));
            foreach (string item in days)
            {
                Console.WriteLine(item);
            }
        }
    }
}
